import common from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import json from '@rollup/plugin-json';
export default {
    input: './src/index.js', // 打包入口
    output: [
        {
            // 打包出口
            file: './dist/index.js',
            format: 'es',
        },
    ],
    plugins: [
        json(),
        common(),
        resolve({
            browser: true,
        }),
    ],
};
